package com.xx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xx.comm.R;
import com.xx.entity.Category;

public interface ICategoryService extends IService<Category> {

    R insert(Category category);

    R delete(Integer id);

    int update(Category category);

    R selectAll(Integer page,Integer size);

    R selectByName(String name, Integer page, Integer size);
}
